<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">
      
<h:head>
        <title>Central de Estagio - Aluno</title>
		<link rel="StyleSheet" type="text/css" href="#{facesContext.externalContext.requestContextPath}/css/estilo.css" media="screen" />
        <link type="text/css" rel="stylesheet" href="#{facesContext.externalContext.requestContextPath}/css/tema/theme.css"/>
</h:head>
<h:body>
<h:form>
	<div align="center">
   	<p:layout style="min-width:1024px;max-width:1024px;min-height:1000px" styleClass="textoEsq">
			<p:layoutUnit id="topo" position="north" size="28%" style="max-width:1024px">
			<div align="center">
			<p:graphicImage url="/imagens/topo.jpg" width="1000" height="145" />
			</div>
			<p:panelGrid styleClass="semBorda" > 
			<p:row>
			<p:column rowspan="4">
			<p:graphicImage value="/imagens/user.jpg" />
			</p:column>
			<p:column style="font-weight: bold;"><h:outputText value="#{MBAluno.beanAluno.nomeAluno}"/></p:column></p:row>
			<p:row><p:column>RA: <h:outputText value="#{MBAluno.beanAluno.matriculaAluno}"/></p:column></p:row>
        	<p:row><p:column><h:outputText value="#{MBAluno.curso}"/> - <h:outputText value="#{MBAluno.beanAluno.periodoCursoAluno}"/></p:column></p:row>
			<p:row><p:column>Data Nascimento: <h:outputText value="#{MBAluno.beanAluno.dtNascAluno}">
			<f:convertDateTime pattern="dd/MM/yyyy" timeZone="America/Sao_Paulo" /></h:outputText></p:column></p:row>
			</p:panelGrid>  
			
      		</p:layoutUnit>
                
            <p:layoutUnit id="rodape" position="south" size="60" >
            <div align="center">
            <h:outputText value="FATEC OURINHOS" /> <br/> 
            <h:outputText value="Av. Vitalina Marcusso, 1400 - Campus Universitário - CEP 19910-206 - Ourinhos/SP" /> <br/>
            <h:outputText value="Tel: (14) 3326-1486" />  
            </div>  
            </p:layoutUnit>

            <p:layoutUnit id="menus" position="west" resizable="false" styleClass="semBorda">
            <p:tieredMenu style="width:160px">  
            	<p:menuitem value="Meus Dados" url="/amb.aluno/dadosAluno.jsf" target="centro"/>
            	<p:menuitem value="Vagas" url="/amb.aluno/alunoVagas.jsf" target="centro"/>
            	<p:menuitem value="Alterar Senha" url="/amb.aluno/senhaAluno.jsf" target="centro"/>
            	<p:menuitem value="Sair" action="#{MBLogin.sair}"/>
 			</p:tieredMenu>
 			</p:layoutUnit>
 			
 			<p:layoutUnit id="meio" position="center" resizable="false" styleClass="semBorda" size="100%" visible="false" >
                <iframe name="centro" width="100%" height="100%" frameborder="0" scrolling="yes" src="principal.jsf"/>
           	</p:layoutUnit>
 	</p:layout>
 	</div>
</h:form>
</h:body>
</html>


